<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<script language="javascript" src="../../../../../../js/jquery.js"></script>
<script language="javascript" src="../../../../../../js/common.js"></script>
<script language="javascript" src="../../../../../../js/My97DatePicker/WdatePicker.js"></script>
<link href="../../../../../../js/scripts/miniui/themes/blue/skin.css" rel="stylesheet" type="text/css">
<script src="../../../../../../js/scripts/boot.js" type="text/javascript"></script> 
<link rel="stylesheet" type="text/css" href="../../../../../../js/jquery-easyui-1.3.5/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../../../../../../js/jquery-easyui-1.3.5/themes/icon.css">
<script type="text/javascript" src="../../../../../../js/jquery-easyui-1.3.5/jquery.easyui.min.js"></script>
<script type="text/javascript" src="../../../../../../js/jquery-easyui-1.3.5/locale/easyui-lang-zh_CN.js"></script>
<link rel="stylesheet" type="text/css" href="../../../../../../themes/css/tsm-icon.css" />
<link rel="stylesheet" type="text/css" href="../../../../../../themes/css/right.css" />
	
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
    	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	</head>  
	<body >
		<div id="divNav">
            <div style="text-align:left;float:left; margin-top:5px;" class="ico_win">安全业务</div>
            <a href="javascript:JOpenAutoPage('../list_server.html','e',300,800)" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" onClick="">设置数据源</a>
        </div>
        <table id="tssGrid" class="easyui-datagrid" title="" align="center" 
            data-options="rownumbers:true,
                autoRowHeight:false,fitColumns:true,
                width: getWidth(),         
                height: getHeight(),    
                toolbar: '#tb',
                loadMsg:'数据正在努力加载中...'
                ">
                <thead>
                    <tr> 
                        <th data-options="field:'xxx1',width:fix(0.2)">名称</th>
                        <th data-options="field:'xxx2',width:fix(0.2)">创建时间</th>
                        <th data-options="field:'xxx3',width:fix(0.2),formatter:formatOper">操作</th>
                    </tr>
                </thead>
               <tbody>
                <tr>
                    <td>木马僵尸控制</td>
                    <td>2014-04-04 10:10:10</td>
                    <td>设置 | 手工执行</td>
                </tr>
                <tr>
                    <td>木马僵尸受控</td>
                    <td>2014-04-04 10:10:10</td>
                    <td>设置 | 手工执行</td>
                </tr>
                <tr>
                    <td>网页篡改</td>
                    <td>2014-04-04 10:10:10</td>
                    <td>设置 | 手工执行</td>
                </tr>
                <tr>
                    <td>网页挂马</td>
                    <td>2014-04-04 10:10:10</td>
                    <td>设置 | 手工执行</td>
                </tr>
                <tr>
                    <td>网页放马</td>
                    <td>2014-04-04 10:10:10</td>
                    <td>设置 | 手工执行</td>
                </tr>
                <tr>
                    <td>网络蠕虫</td>
                    <td>2014-04-04 10:10:10</td>
                    <td>设置 | 手工执行</td>
                </tr>
            </tbody>
        </table>
	</body>
</html>

<script>
 function formatOper(value,row){
	 	 var del ='<a href="javascript:set(\''+row.id+'\')" title="设置" class="row-icon-view1">设置</a> &nbsp;'; 
	 	 var download ='<a href="javascript:upload(\''+row.id+'\')" title="手工执行" class="row-icon-view1">手工执行</a> &nbsp;'; 
		 return download+'&nbsp;&nbsp;'+del; 
 }
 
 function set(){
	JOpenAutoPage('set.html','e',330,800)
 }
 function upload(id){
	 JOpenAutoPage('upload.html','e1',200,600)
 }
</script>